<template>
  <div class="dljjc_box3_x" style="min-height: 100vh">开发中</div>
</template>

<script>
import { cfg } from "@/cfg/cfg.js";

export default defineComponent({
  setup() {
    let val = reactive({
      sdata: [],
    });

    let ct = {
      //获取赛季信息
      get_list: async () => {
        let res = await cfg.axios.get(`${cfg.url}`, {
          params: {
            t: "v2/get",
            t2: "guild/season",
            t3: "get_bbd_season",
          },
        });
        res = res.data;
        if (res.code == 0) {
          const list = res.data;
          val.sdata = list;
        } else {
          cfg.msg.error(`获取列表失败`);
          return;
        }
      },
    };

    onMounted(async () => {
      await ct.get_list();
    });

    return {
      val,
      ct,
      cfg,
    };
  },

  watch: {},
});
</script>
